<template>
  <div class="col-header">
    <HeaderView v-if="isSummary" />
    <HeaderWrite v-else />
  </div>
</template>
<script>
  // 查看: 标题+发起人+发起时间+接收人
  import HeaderView from './components/headerView';
  // 编辑：输入框，选择器
  import HeaderWrite from './components/headerWrite';

  export default {
    name: 'colHeader',
    components: {
      HeaderView,
      HeaderWrite
    },
    props: {
      isSummary: {
        type: Boolean,
        default: false
      }
    },
    data() {
      return {};
    },
    created() {},
    mounted() {},
    computed: {},
    methods: {}
  };
</script>